package com.financing.platform.dao;

import java.sql.SQLException;
import java.util.List;

import com.financing.platform.dto.ProjectCompanyDTO;
import com.financing.platform.dto.ThirdPartyCompanyDTO;

public interface IThirdPartyCompanyDao extends
		IBaseDao  {

	/**
	 * 获取三方公司列表
	 * @param queryVo
	 * @return
	 */
	public List<ThirdPartyCompanyDTO> getThirdPartyCompanyList(ThirdPartyCompanyDTO tpCompanyDTO) throws SQLException;

	/**
	 * 更新三方公司
	 * @param dto
	 * @return id
	 * @throws SQLException 
	 */
	public int updateThirdPartyCompany(ThirdPartyCompanyDTO tpCompanyDTO) throws SQLException;
	
	/**
	 * @throws SQLException 
	 * 
	* @Title: addProjectCompany 
	* @Description: 添加三方公司
	* @param   ProjectCompanyDTO
	* @return int   
	* @throws
	 */
	public int addThirdPartyCompany(ThirdPartyCompanyDTO tpCompanyDTO) throws SQLException;
	
	
	/**
	 * 查询列表总数
	 * @param projectCompanyDTO
	 * @return int
	 * @throws SQLException
	 */
	public int getThirdPartyCompanyListCount(ThirdPartyCompanyDTO tpCompanyDTO) throws SQLException;

	/**
	 * 删除公司
	 * @param productCompanyId
	 * @return
	 */
	public int delThirdPartyCompany(int tpCompanyId) throws SQLException;
	
}
